Skip to main content

revXMLEndTree

Type

message

Summary

Sent to the current card when the revXMLCreateTreeFromFile function finishes parsing an XML document.

Syntax

revXMLEndTree

Description

Handle the revEndXMLTree message if you want to build your own subset of an XML document.

The revXMLCreateTree or revXMLCreateTreeFromFile functions take XML data and parse it. When you call either of these functions, you can specify whether or not to send messages during the parsing operation.

If you have specified that you want the function to send messages, the revXMLEndTree message is sent when the function encounters the final tag in the file. If you have specified that you don't want messages sent, no revXMLEndTree messages are sent.

Examples

on revXMLEndTree
save this stack -- save stack with XML data to disk
end revXMLEndTree

message: revXMLStartTree

command: call

control structure: function

function: revXMLCreateTreeFromFile

glossary: current card, message, XML document, function, XML

Compatibility and Support

Introduced

LiveCode 2.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?